package com.zxkj.commonpatrol.model.response;

import java.util.ArrayList;
import java.util.List;

public class InspectionDetailResponse {
    public int InspectPointTotal;    //该路线包含的巡检点总数
    public List<InspectPoint> Points=new ArrayList<>();   //该路线包含的巡检点信息列表

    public int getInspectPointTotal() {
        return InspectPointTotal;
    }

    public void setInspectPointTotal(int inspectPointTotal) {
        InspectPointTotal = inspectPointTotal;
    }

    public List<InspectPoint> getPoints() {
        return Points;
    }

    public void setPoints(List<InspectPoint> points) {
        Points = points;
    }

    public PointDashboard getPointStatisInfo() {
        return PointStatisInfo;
    }

    public void setPointStatisInfo(PointDashboard pointStatisInfo) {
        PointStatisInfo = pointStatisInfo;
    }

    public PointDashboard PointStatisInfo; //该路线巡检点的统计信息
    public  static  class InspectPoint{
          public String Code;  //巡检点编号
          public String Name;  //巡检点名称
          public String Location; //巡检点位置

          public String getCode() {
              return Code;
          }

          public void setCode(String code) {
              Code = code;
          }

          public String getName() {
              return Name;
          }

          public void setName(String name) {
              Name = name;
          }

          public String getLocation() {
              return Location;
          }

          public void setLocation(String location) {
              Location = location;
          }

          public String getLastUpdateDate() {
              return LastUpdateDate;
          }

          public void setLastUpdateDate(String lastUpdateDate) {
              LastUpdateDate = lastUpdateDate;
          }

          public int getDeviceTotal() {
              return DeviceTotal;
          }

          public void setDeviceTotal(int deviceTotal) {
              DeviceTotal = deviceTotal;
          }

          public int getNomalDeviceCount() {
              return NomalDeviceCount;
          }

          public void setNomalDeviceCount(int nomalDeviceCount) {
              NomalDeviceCount = nomalDeviceCount;
          }

          public int getEventTotal() {
              return EventTotal;
          }

          public void setEventTotal(int eventTotal) {
              EventTotal = eventTotal;
          }

          public int getNomalEventCount() {
              return NomalEventCount;
          }

          public void setNomalEventCount(int nomalEventCount) {
              NomalEventCount = nomalEventCount;
          }

          public String LastUpdateDate; //巡检点最后更新时间(yyyy/MM/dd hh:mm)
          public int DeviceTotal;         //巡检点所包含的设备总数
          public int NomalDeviceCount;   //已经巡查而且为正常的设备数量
          public int EventTotal;          //巡检点所包含的问题集总数
          public int NomalEventCount;    //已经巡查而且为正常的问题集数量
        public  int PointPatrolStatus;

        public int getPointPatrolStatus() {
            return PointPatrolStatus;
        }

        public void setPointPatrolStatus(int pointPatrolStatus) {
            PointPatrolStatus = pointPatrolStatus;
        }
    }
    public  static  class PointDashboard{
        public int All;          //巡检点总数
        public int Completed;   //已经巡查而且为正常的巡检点数量
        public int Pending;    //未巡检或者有异常的巡检点数量

        public int getAll() {
            return All;
        }

        public void setAll(int all) {
            All = all;
        }

        public int getCompleted() {
            return Completed;
        }

        public void setCompleted(int completed) {
            Completed = completed;
        }

        public int getPending() {
            return Pending;
        }

        public void setPending(int pending) {
            Pending = pending;
        }
    }
}
